package com.blandware.atleap.webapp.menu;

import javax.servlet.ServletContext;


/**
 * <p>Defines the interface for a loadable web application resource.</p>
 * <p>This interface was copied from Struts Menu.</p>
 * <p><a href="LoadableResource.java.html"><i>View Source</i></a></p>
 *
 * @author Scott Sayles
 */
public interface LoadableResource {
	//~ Methods ================================================================

	public void setLoadParam(String loadParam);

	public String getLoadParam();

	public void setName(String name);

	public String getName();

	public void load() throws LoadableResourceException;

	public void reload() throws LoadableResourceException;

	public ServletContext getServletContext();

	public void setServletContext(ServletContext servletContext);
}
